.sy3-container {
  width: 100%;
  min-height: 100vh;
  background-color: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* 顶部导航栏 */
.sy3-navbar {
  background-color: white;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-icon {
  font-size: 16px;
  color: #666;
}

/* 页面内容 */
.sy3-content {
  padding: 16px;
}

/* 科室和日期选择区域 */
.department-date-section {
  background-color: white;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.department-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.department-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.date-info {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
}

.date-text {
  font-size: 14px;
}

/* 日期标签 */
.date-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.date-tab {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
  background-color: white;
  border: 1px solid #e8e8e8;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.date-tab:hover {
  background-color: #f0f0f0;
  border-color: #d9d9d9;
}

.date-tab.active {
  background-color: #1890ff;
  color: white;
  border-color: #1890ff;
  font-weight: 500;
}

/* 医生列表 */
.doctors-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 医生卡片 */
.doctor-card {
  background-color: white;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.doctor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 医生内容 */
.doctor-content {
  display: flex;
  gap: 16px;
}

/* 医生头像 */
.doctor-avatar {
  flex-shrink: 0;
}

/* 医生信息 */
.doctor-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doctor-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.doctor-name-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.doctor-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.doctor-title {
  font-size: 14px;
  color: #666;
}

.doctor-department {
  font-size: 14px;
  color: #1890ff;
  font-weight: 500;
}

.doctor-specialty {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

/* 预约按钮 */
.appointment-btn {
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  height: 32px;
  padding: 0 12px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.appointment-btn.available {
  background-color: #e6f7ff;
  color: #1890ff;
  border: 1px solid #91d5ff;
}

.appointment-btn.available:hover {
  background-color: #bae7ff;
  border-color: #69c0ff;
  transform: scale(1.05);
}

.appointment-btn.full {
  background-color: #f5f5f5;
  color: #999;
  border: 1px solid #d9d9d9;
  cursor: not-allowed;
}

.appointment-btn:disabled {
  background-color: #f5f5f5;
  color: #999;
  border-color: #d9d9d9;
  cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .sy3-content {
    padding: 12px;
  }
  
  .department-date-section {
    padding: 12px;
    margin-bottom: 12px;
  }
  
  .department-name {
    font-size: 16px;
  }
  
  .date-tabs {
    gap: 6px;
    margin-bottom: 16px;
  }
  
  .date-tab {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .doctors-list {
    gap: 12px;
  }
  
  .doctor-card {
    padding: 12px;
  }
  
  .doctor-content {
    gap: 12px;
  }
  
  .doctor-name {
    font-size: 15px;
  }
  
  .doctor-title {
    font-size: 13px;
  }
  
  .doctor-department {
    font-size: 13px;
  }
  
  .doctor-specialty {
    font-size: 12px;
  }
  
  .appointment-btn {
    height: 28px;
    padding: 0 10px;
    font-size: 11px;
  }
}

/* 滚动条样式 */
.sy3-container::-webkit-scrollbar {
  width: 4px;
}

.sy3-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sy3-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 2px;
}

.sy3-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 日期标签滚动条 */
.date-tabs::-webkit-scrollbar {
  height: 2px;
}

.date-tabs::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.date-tabs::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 1px;
}

.date-tabs::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
